package com.bwie.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @description :
 * @Author QiHainan
 * @Create 2025/4/21 17:48
 * @Version 1.0
 */
@Data
public class LoginAdminVo implements Serializable {
    /**
     * 登录账号
     */
    @NotBlank(message = "用户名不能为空")
    @Size(min = 3,max = 6,message = "用户名长度必须在3-6位")
    private String userName;

    /**
     * 登录密码
     */
    @NotBlank(message = "密码不能为空")
    private String userPass;
}
